<?php

class Materials_Table_Comment extends Workset_Db_Table {

	protected $_name = 't_material_comment';

    protected $_primary = 'id';

    protected $_referenceMap = array(
    	'material' => array(
            'columns' 		=> 'material_id',
            'refTableClass' => 'Materials_Table_Material',
            'refColumns' 	=> 'id'
        ),
		'parent' => array(
            'columns' 		=> 'parent_id',
            'refTableClass' => 'Materials_Table_Comment',
            'refColumns' 	=> 'id'
        ),
    );

    protected $_dependentTables = array();

}
